export const constantRouterMap = [
  {
    path: '/',
    name: 'index',
    component: () => import('@/view/index/Index'),
    meta: {
      title: '瑶光动漫网 - 带你突破次元壁'
    }
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/view/login/Login'),
    meta: {
      title: '用户登录 - 瑶光动漫网'
    }
  },
  {
    path: '/reg',
    name: 'reg',
    component: () => import('@/view/reg/Reg'),
    meta: {
      title: '用户注册 - 瑶光动漫网'
    }
  },
  {
    path: '/account/home',
    name: 'home',
    component: () => import('@/view/account/Account'),
    meta: {
      title: '个人中心 - 瑶光动漫网'
    }
  },
  {
    path: '/account/big',
    name: 'big',
    component: () => import('@/view/account/Account'),
    meta: {
      title: '个人中心 - 瑶光动漫网'
    }
  },
  {
    path: '/account/info',
    name: 'info',
    component: () => import('@/view/account/Account'),
    meta: {
      title: '个人中心 - 瑶光动漫网'
    }
  },
  {
    path: '/account/avatar',
    name: 'avatar',
    component: () => import('@/view/account/Account'),
    meta: {
      title: '个人中心 - 瑶光动漫网'
    }
  },
  {
    path: '/account/coins',
    name: 'coins',
    component: () => import('@/view/account/Account'),
    meta: {
      title: '个人中心 - 瑶光动漫网'
    }
  },
  {
    path: '/account/diamonds',
    name: 'diamonds',
    component: () => import('@/view/account/Account'),
    meta: {
      title: '个人中心 - 瑶光动漫网'
    }
  },
  {
    path: '/account/record',
    name: 'record',
    component: () => import('@/view/account/Account'),
    meta: {
      title: '个人中心 - 瑶光动漫网'
    }
  },
  {
    path: '/anime/timeline',
    name: 'timeline',
    component: () => import('@/view/timeline/Timeline'),
    meta: {
      title: '新番时间表 - 瑶光动漫网'
    }
  },
  {
    path: '/anime',
    name: 'anime',
    component: () => import('@/view/anime/Anime'),
    meta: {
      title: '动漫 - 瑶光动漫网'
    }
  },
  {
    path: '/manga',
    name: 'manga',
    component: () => import('@/view/anime/Anime'),
    meta: {
      title: '漫画 - 瑶光动漫网'
    }
  },
  {
    path: '/novel',
    name: 'novel',
    component: () => import('@/view/anime/Anime'),
    meta: {
      title: '小说 - 瑶光动漫网'
    }
  },
  {
    path: '/anime/play/*',
    name: 'animePlay',
    component: () => import('@/view/video/Play'),
    meta: {
      title: '动漫 - 瑶光动漫网'
    }
  },
  {
    path: '/novel/play/*',
    name: 'novelPlay',
    component: () => import('@/view/novel/Play'),
    meta: {
      title: '小说 - 瑶光动漫网'
    }
  },
  {
    path: '/manga/play/*',
    name: 'mangaPlay',
    component: () => import('@/view/manga/Play'),
    meta: {
      title: '漫画 - 瑶光动漫网'
    }
  },
  {
    path: '/rank/anime',
    name: 'rankAnime',
    component: () => import('@/view/rank/Rank'),
    meta: {
      title: '动漫排行榜 - 瑶光动漫网'
    }
  },
  {
    path: '/rank/manga',
    name: 'rankManga',
    component: () => import('@/view/rank/Rank'),
    meta: {
      title: '漫画排行榜 - 瑶光动漫网'
    }
  },
  {
    path: '/rank/novel',
    name: 'rankNovel',
    component: () => import('@/view/rank/Rank'),
    meta: {
      title: '小说排行榜 - 瑶光动漫网'
    }
  },
  {
    path: '/search',
    name: 'search',
    component: () => import('@/view/search/Search'),
    meta: {
      title: '搜索 - 瑶光动漫网'
    }
  },
  {
    path: '/rank/',
    name: 'rank',
    redirect: '/rank/anime'
  },
  {
    path: '/anime/collect',
    name: 'animeCollect',
    component: () => import('@/view/collect/Collect'),
    meta: {
      title: '我的追番 - 瑶光动漫网'
    }
  },
  {
    path: '*',
    name: '404',
    component: () => import('@/view/404/Error'),
    meta: {
      title: '出错啦 - 瑶光动漫网'
    }
  }
]
